package com.demohomework.homeworkdemo.service;

import com.demohomework.homeworkdemo.pojo.Student;

import java.util.List;

public interface StudentService {
    Student findbyUsername(String username);

    void register(String username, String password);

    void update(Student student);

    void updatePwd(String newPwd);

    List<Student> list();

    void delete(Integer id);

    void add(Student student);

    Student findId(Integer id);
}
